package com.xls.boxlibrary.utils;

import android.util.Log;

import com.xls.boxlibrary.Consts.StateConsts;


/**
 * Log工具类
 */
public class LUtils {
    public static String TAG = "cn.mvp_frame";

    public static void e(Object content) {
        e(TAG, content);
    }

    public static void e(String tag, Object content) {
        if (StateConsts.isDebug) Log.e(tag, content + "");
    }

    public static void i(Object content) {
        i(TAG, content);
    }

    public static void i(String tag, Object content) {
        if (StateConsts.isDebug) Log.i(tag, content + "");
    }

    public static void v(Object content) {
        v(TAG, content);
    }

    public static void v(String tag, Object content) {
        if (StateConsts.isDebug) Log.v(tag, content + "");
    }

    public static void d(Object content) {
        d(TAG, content);
    }

    public static void d(String tag, Object content) {
        if (StateConsts.isDebug) Log.d(tag, content + "");
    }

}
